#import "../fragments/last_state_transition.fragment.graphql"

mutation vulnerabilityRevertToDetected($id: VulnerabilityID!, $comment: String) {
  vulnerabilityRevertToDetected(input: { id: $id, comment: $comment }) {
    errors
    vulnerability {
      id
      state
      detectedAt
      ...LastStateTransition
    }
  }
}
